import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from  '@/views/Index.vue'
import Client from  '@/views/Client.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect:'/screen'
  },
  {
    path: '/screen',
    name: 'screen',
    component: Index
  },{
    path: '/client',
    name: 'client',
    component: Client
  }
]

const router = new VueRouter({
  routes
})

export default router
